require.config({
    paths: {
        jQuery: "libs/jquery-1.8.1.min",
		"jQuery-ui": "libs/jquery-ui-1.10.2.custom.min",
		kendo: "libs/kendo.web.min",
        drag: "libs/jquery.event.drag-2.0",
		lte: "libs/lte-ie7",
		kineticJs: "libs/kinetic-v4.5.1.min",
		iframeTransport: "libs/jquery.iframe-transport",
		"fileUpload": "libs/jquery.fileupload",
		"widget":"libs/vendor/jquery.ui.widget",
		"rightClick":"libs/jquery.contextmenu",
		"touchPunch" : "libs/jquery.touch_box.min",
		"finger" : "libs/jquery.finger.min",
		// "colorPicker" : "libs/jpicker-1.1.6",
		"dragableTouch": "libs/jquery.ui.touch-punch.min",
		// "colorPicker" : "libs/jpicker-1.1.6",
		"html2Canvas" : "libs/html2canvas",
		"canvas2Image" : "libs/canvas2image",
		"gridBuilder" : "libs/gridBuilder",		
		"base64Img" : "libs/base64-img",
		"chatbox" : "libs/jquery.ui.chatbox",
		"printArea" : "libs/jquery.PrintArea.js_4",
		"touchPan" : "libs/jquery.touchpanview",
		"bootstrap" : "libs/bootstrap.min",
		"bootstrapSwitch" : "libs/bootstrapSwitch"
    },
    waitSeconds: 160,
	urlArgs: "bust=" +  (new Date()).getTime(),

    shim: {
        jQuery: {
            exports: "jQuery",
			init: function(){
				console.log('JQuery inited..');
			}
        },
		"jQuery-ui": {
			deps: ["jQuery"],
            exports: "JQuery",
			init: function(){
				console.log('JQuery UI inited..');
			}
		},
		kendo: {
            deps: ["jQuery"],
            exports: "kendo",
			init: function(){
				console.log('Kendo inited..');
			}
        },
		drag: {
            deps: ["jQuery"],
            exports: "drag",
			init: function(){
				console.log('Drag inited..');
			}
        },
		lte: {
            exports: "lte",
			init: function(){
				console.log('LTE inited..');
			}
        },
        // kineticJs: {
        	// deps: ["jQuery"],
            // exports: "kineticJs",
			// init: function(){
				// console.log('Kinetic inited..');
			// }
        // }, 
		iframeTransport: {
        	deps: ["jQuery"],
            exports: "iframeTransport",
			init: function(){
				console.log('iframeTransport UI inited..');
			}
        },
		// fileUpload: {
        	// deps: ["jQuery"],
            // exports: "fileUpload",
			// init: function(){
				// console.log('fileUpload inited..');
			// }
        // },
		widget: {
        	deps: ["jQuery"],
            exports: "widget",
			init: function(){
				console.log('widget UI inited..');
			}
        },
		rightClick: {
        	deps: ["jQuery"],
            exports: "rightClick",
			init: function(){
				console.log('rightClick  inited..');
			}
        },
		touchPunch: {
			deps: ["jQuery-ui"],
            exports: "touchPunch",
			init: function(){
				console.log('touchPunch  inited..');
			}
        },
		finger: {
			deps: ["jQuery"],
            exports: "finger",
			init: function(){
				console.log('finger  inited..');
			}
        },
		dragableTouch: {
			deps: ["jQuery"],
            exports: "dragableTouch",
			init: function(){
				console.log('dragableTouch  inited..');
			}
        },
		// colorPicker: {
			// deps: ["jQuery"],
            // exports: "colorPicker",
			// init: function(){
				// console.log('colorPicker  inited..');
			// }
        // },		
		html2Canvas: {
			deps: ["jQuery"],
            exports: "html2Canvas",
			init: function(){
				console.log('html2Canvas  inited..');
			}
        },
		canvas2Image: {
			deps: ["jQuery"],
            exports: "canvas2Image",
			init: function(){
				console.log('canvas2Image  inited..');
			}
        },
		// chatbox: {
			// deps: ["jQuery-ui"],
            // exports: "chatbox",
			// init: function(){
				// console.log('chatbox  inited..');
			// }
        // },
		base64Img: {
			deps: ["jQuery"],
            exports: "base64Img",
			init: function(){
				console.log('base64Img  inited..');
			}
        },
		
		// gridBuilder: {
			// deps: ["jQuery"],
            // exports: "gridBuilder",
			// init: function(){
				// console.log('gridBuilder  inited..');
			// }
        // },
		
		printArea: {
			deps: ["jQuery"],
            exports: "printArea",
			init: function(){
				console.log('printArea  inited..');
			}
        },
        
        touchPan: {
			deps: ["jQuery"],
            exports: "touchPan",
			init: function(){
				console.log('touch pan inited..');
			}
        },
		bootstrap: {
			deps: ["jQuery"],
            exports: "bootstrap",
				init: function(){
				console.log('bootstrap inited..');
			}
        },
		bootstrapSwitch: {
			deps: ["jQuery","bootstrap"],
            exports: "bootstrapSwitch",
				init: function(){
				console.log('bootstrapSwitch inited..');
			}
        }
    }
});